<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
            .div-table{display:table; border:1px solid #003399;}
            .div-table-caption{display:table-caption; background:#009999;}
            .div-table-row{display:table-row;}
            .div-table-col{display:table-cell; padding: 5px; border: 1px solid #003399;}
        </style>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Create New Assessment</title>
    </head>
    <body>
        <s:form action="evaluateAssessment" namespace="/AssessmentManagement" method="evaluateAssessment">

            <s:textfield name="title" label="Title" />
            <s:textfield name="markObtained" label="markObtained"/>

            <table border="1px">
                <tr>
                    <th>Students</th>
                </tr>
                <s:iterator value="members">
                    <tr>
                        <td><s:property value="name"/></td>
                    </tr>
                </s:iterator>

            </table>


            <table border="1px">
                <tr>
                    <th colspan="2">Assessment Items</th>
                </tr>
                <s:iterator value="evaluationItems" >
                    <tr>
                        <s:textfield name="markObtained" label="assessmentItem.name" />
                    </tr>
                </s:iterator>

            </table>





            <s:submit value="submit" name="submit" />
        </s:form>
    </body>
</html>
